package com.niit.session13.homework;

public class Sum {
	public static void main(String[] args) {
		int jiSum = 0;
		int ouSum = 0;
		for (int i = 1; i <= 100; i++) {
//			偶数
			if(i%2 == 0) {
				ouSum+=i;
			}else {
				jiSum+=i;
			}
		}
		System.out.println(jiSum);
		System.out.println(ouSum);
	}
}
